//
//  L_RecommendBarViewController.h
//  音悦咖
//
//  Created by dllo on 15/7/14.
//  Copyright (c) 2015年 dllo. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "BaseHeader.h"
#import "AFNetworkHandler.h"
#import "SDCycleScrollView.h"
#import "L_FirstRecommendCollectionViewCell.h"
#import "L_SecondRecommendCollectionViewCell.h"
#import "L_PosterModel.h"
#import "L_TItleView.h"

@class L_RecommendBarViewController;

// push协议方法
@protocol L_RecommendBarViewControllerDelegate <NSObject>

-(void)L_RecommendBarViewControllerPushViewController:(NSIndexPath *)indexPath SongId:(NSString *)songId;

-(void)L_RecommendBarViewControllerPushViewController:(NSIndexPath *)indexPath Url:(NSString *)url;

@end


// 轮播图push协议方法

@protocol L_PosterPushDelegate <NSObject>

- (void)L_PosterPushViewController:(NSInteger)index Action:(NSDictionary *)action;


@end



@interface L_RecommendBarViewController : UIViewController <UICollectionViewDataSource, UICollectionViewDelegate, UICollectionViewDelegateFlowLayout, SDCycleScrollViewDelegate>
// push协议代理属性
@property(nonatomic, assign) id<L_RecommendBarViewControllerDelegate>delegate;
@property (nonatomic, assign)id<L_PosterPushDelegate>Posterdelegate;

@property (nonatomic, retain) UICollectionView *recommendCollectionView;

@property (nonatomic, retain) NSArray *songlistsArr;
@property (nonatomic, retain) NSArray *titleArr;
@property (nonatomic, retain) NSMutableArray *posterArr; // 海报数组
@property (nonatomic, retain) NSMutableArray *hotmusicArr; // 热门歌单
@property (nonatomic, retain) NSMutableArray *newestMusicArr; // 最新音乐
@property (nonatomic, retain) NSMutableArray *selfdomRecommendArr; // 个性推荐
@property (nonatomic, retain) NSMutableArray *smallRecommendArr; // 冰凉小曲 清凉一下
@property (nonatomic, retain) NSMutableArray *AsianNewMusicArr;  // 亚洲新歌榜

@end
